package com.jeesite.modules.dp.service.zhibiao;

import java.util.List;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.CrudService;
import com.jeesite.modules.dp.entity.zhibiao.DpIndicator;
import com.jeesite.modules.dp.dao.zhibiao.DpIndicatorDao;

/**
 * 指标管理Service
 * @author hancing
 * @version 2024-12-05
 */
@Service
public class DpIndicatorService extends CrudService<DpIndicatorDao, DpIndicator> {
	
	/**
	 * 获取单条数据
	 * @param dpIndicator
	 * @return
	 */
	@Override
	public DpIndicator get(DpIndicator dpIndicator) {
		return super.get(dpIndicator);
	}
	
	/**
	 * 查询分页数据
	 * @param dpIndicator 查询条件
	 * @param dpIndicator page 分页对象
	 * @return
	 */
	@Override
	public Page<DpIndicator> findPage(DpIndicator dpIndicator) {
		return super.findPage(dpIndicator);
	}
	
	/**
	 * 查询列表数据
	 * @param dpIndicator
	 * @return
	 */
	@Override
	public List<DpIndicator> findList(DpIndicator dpIndicator) {
		return super.findList(dpIndicator);
	}
	
	/**
	 * 保存数据（插入或更新）
	 * @param dpIndicator
	 */
	@Override
	@Transactional
	public void save(DpIndicator dpIndicator) {
		super.save(dpIndicator);
	}
	
	/**
	 * 更新状态
	 * @param dpIndicator
	 */
	@Override
	@Transactional
	public void updateStatus(DpIndicator dpIndicator) {
		super.updateStatus(dpIndicator);
	}
	
	/**
	 * 删除数据
	 * @param dpIndicator
	 */
	@Override
	@Transactional
	public void delete(DpIndicator dpIndicator) {
		super.delete(dpIndicator);
	}
	
}